package com.voute.Api;

import com.voute.Model.Bean.LoginInfoBean;

import java.util.HashMap;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * 登录Service
 * Created by liucxu on 2017/1/17.
 */

public interface LoginService {
    @FormUrlEncoded
    @POST("v1/oauth/token")
    Observable<LoginInfoBean> login(@FieldMap HashMap<String,String> values);
}
